$(function() {// 初始化内容
    console.log("hello");
    $.ajax({
        type: 'get',
        url: '/book/bookClass/selectAll',
        contentType: "application/json",
        success: function(r){
            $.each(r.data,function(index,value){
                $("#cls").append("<option value='" + value.bookClassId + "'>" + value.className + "</option>");
            });
        }
    });
});